//引入mockjs模块
import Mock from "mockjs";
//把JSON数据格式引入进来
import banner from './banner.json';
import floor from "./floor.json";
import addressinfo from "./addressinfo.json";

//mock数据:第一个参数：请求地址  第二个参数：请求数据
Mock.mock("/mock/banner",{code:200,data:banner})//模拟首页大轮播图的数据
Mock.mock("/mock/floor",{code:200,data:floor})//
Mock.mock("/mock/addressinfo",{code:200,data:addressinfo})//